package com.halobop.demo.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class User implements Serializable {
    private Long id;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "创建时间")
    private Long tmCreate;

    @ApiModelProperty(value = "更新时间")
    private Long tmUpdate;

    @ApiModelProperty(value = "最后一次登录时间")
    private Long tmLogin;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getTmCreate() {
        return tmCreate;
    }

    public void setTmCreate(Long tmCreate) {
        this.tmCreate = tmCreate;
    }

    public Long getTmUpdate() {
        return tmUpdate;
    }

    public void setTmUpdate(Long tmUpdate) {
        this.tmUpdate = tmUpdate;
    }

    public Long getTmLogin() {
        return tmLogin;
    }

    public void setTmLogin(Long tmLogin) {
        this.tmLogin = tmLogin;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", phone=").append(phone);
        sb.append(", password=").append(password);
        sb.append(", tmCreate=").append(tmCreate);
        sb.append(", tmUpdate=").append(tmUpdate);
        sb.append(", tmLogin=").append(tmLogin);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}